package com.gaswell.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @ClassName HttpConfig
 * @Author xiaow
 * @DATE 2023/6/15 14:45
 **/
@Configuration
public class HttpConfig {

    @Bean(value = "restTemplate")
    public RestTemplate restTemplate() {
        RestTemplate restTemplate = new RestTemplate();
        return restTemplate;
    }
}
